#include "Scene##NAME##.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "deprecated/CCDeprecated.h"
#include "ui/UIHelper.h"
#include "base/CCConsole.h"

USING_NS_CC;
using namespace ui;

CScene##NAME##::CScene##NAME##(void)
{
}


CScene##NAME##::~CScene##NAME##(void)
{
}

bool CScene##NAME##::init() {
	// 1. super init first
    if ( !CSceneBase::init() )
    {
        return false;
    }
    
	//m_LoginNode = CSLoader::createNode("login.csb");
	
	//ui::Button* tLoginB = (ui::Button*)ui::Helper::seekWidgetByTag((cocos2d::ui::Widget*)m_LoginNode, 93);
	//tLoginB->addTouchEventListener(CC_CALLBACK_2(CScene##NAME##::onOpenPack, this));

    //addChild(m_LoginNode);

    return true;
}

void CScene##NAME##::onEnter() {
	cocos2d::Scene::onEnter();
}

/*
void CScene##NAME##::onExit() {
	cocos2d::Scene::onExit();
}

void CScene##NAME##::update(float delta) {
	cocos2d::Scene::update(delta);
}
*/

/*
void CScene##NAME##:::onOpenPack(cocos2d::Ref* pSender, cocos2d::ui::Widget::TouchEventType type) {
	switch (type)
	{
	case cocos2d::ui::Widget::TouchEventType::ENDED:
		
		break;
	}
}*/
